home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
PULLCAP.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
913b
|
37 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_Pull_Cap( cPullString ) --> cString
PARAMETERS:
cPullString : String to extract CAPS from
SHORT:
Upper Case first letters of a string and extract them.
DESCRIPTION:
_Pull_Cap() capitalizes the first letter of each word in a string (separated
by spaces) then extracts and returns only the capital letters from a string.
It ignores digits. It is useful for creating acronyms for such things as
creating file names from a long string.
NOTE:
EXAMPLE:
Create_File = _Pull_Cap('temporary & intermdiate accounts 101 budget
file')+'.DBF'
Result: Create_File = 'TIABF.DBF'
******************************************************************************/